package com.hopu.service;

import com.hopu.entity.Video;
import com.hopu.entity.WorkLikeDTO;

import java.util.List;

public interface LikeService {

    /**
     * 点赞/取消点赞
     * @param workLikeDTO
     */
    void toggleLike(WorkLikeDTO workLikeDTO);

    /**
     * 获取点赞数量
     * @param workId
     * @return
     */
    Integer getLikeCount(Video video);
}
